migrating Preferences class into stand-alone version - #1209
Conversation
|
Hi @AhmedMagedC we are finally getting to this. And it's so late. Is this something you still have the bandwidth to help with? I'm so sorry this took so long for us to get back to this. A lot of stuff has changed, and your work will need to be re-based. @diyaayay is interested in taking this over the line, but I want to confirm with you first. |
Hi @catilac , Sorry I won't be available to help with this. |
|
Thanks @AhmedMagedC for the quick reply. Will close this for now. |
Resolves #1104
Changes
Preferencesclass into two classes:app.utils.Preferencesandapp.Preferencesapp.utils.Preferencesclass is the stand-alone version making the loading and saving of preferences independentapp.Preferencesdepends onapp.utils.Preferencesfor the main functionalties (loading, saving, getting a value) but also adds otherappdependent functionalties (fonts, language, ...)PreferencesExceptiondefault.txtis now via JAR resource systemTodo
Baseclass, which forces you to explicitly set the location when usingapp.utils.Preferences. We can decouple it fromBaseclass making it independt ofappmodule